package com.ccys.db.enums;

/**
 * @program: WhiteCoat
 * @description: Redis的枚举
 * @author: ZhangJingCan
 * @create: 2024-02-04 10:45
 **/
public enum RedisEnum {

    UPDATE_EMAIL("updateEmail:", 1),
    ;




    private String key;

    private Integer code;

    RedisEnum(String key, Integer code) {
        this.key = key;
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getKey() {
        return key;
    }

}
